//初始化样式start
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  font-family: Helvetica Neue, Helvetica, Roboto, Segoe UI, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: inherit;
}

button,
select,
input {
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

img {
  max-width: 100%;
  display: block;
  //width: 100%;
}

li {
  list-style: none;
}

.clear:after {
  content: '';
  height: 0;
  display: block;
  overflow: hidden;
  float: none;
  visibility: hidden;
  clear: both;
}

//初始化样式end

//头部
header {
  height: 0.5rem;
  line-height: 0.5rem;
  background: url("../img/logo.png") no-repeat .64rem 0.12rem;
  background-size: 1.11rem 0.26rem;
  text-align: right;
  padding-right: 0.7rem;
  //padding-top: 0.125rem;
  a {
    display: inline-block;
    background: url("../img/phone.png") no-repeat left 0.13rem;
    background-size:0.23rem 0.23rem;
    width: 2.17rem;
    height: 0.5rem;
    line-height: 0.5rem;
    color: #0f0e0e;
    font-size: 0.27rem;
    text-align: left;
    padding-left: 0.28rem;
  }
}

//body
.signBody {
  .title1 {
    color: #1d1820;
    font-size: 0.42rem;
    line-height: 0.54rem;
    font-weight: normal;
    margin-bottom: 0.25rem;
    text-align: center;
  }
  .line {
    width: 0.42rem;
    height: 0.06rem;
    border-radius: 0.03rem;
    background-color: #ffd000;
    margin: 0 auto 0.5rem;
  }
  .title2 {
    font-size: 0.26rem;
    color: #666666;
    font-weight: normal;
    //text-align: center;
    width: 4.78rem;
    margin: 0 auto;
    line-height: 0.4rem;
  }
  .bar1 img {
    width: 100%;
  }
  .formWarpper {
    padding-top: 0.4rem;
    background-color: #fff;
    .formTitle {
      font-size: .42rem;
      font-weight: normal;
      text-align: center;
      line-height: .42rem;
      color: #0f0e0e;
      margin-bottom: 0.34rem;
      span {
        color: #ff6d3f;
      }
    }
    .myForm {
      width: 6.48rem;
      margin: 0 auto;
      #phone {
        //width: 4.12rem;
        //float: left;
        //border-top-left-radius: 0.45rem;
        //border-bottom-left-radius: 0.45rem;
        //border-top-right-radius:0rem;
        //border-bottom-right-radius: 0rem;
        width: 6.48rem;
        border-radius: 0.45rem;
        padding-left: 0.98rem;
        background: url("../img/tel.png") no-repeat 0.4rem center;
        background-size: 0.22rem 0.36rem;
      }
      #name {
        //width: 2.36rem;
        //float: right;
        width: 6.48rem;
        border-radius: 0.45rem;
        padding-left: 0.98rem;
        background: url("../img/name.png") no-repeat 0.4rem center;
        background-size: 0.27rem 0.33rem;
        //border-top-left-radius: 0rem;
        //border-bottom-left-radius: 0rem;
        //border-top-right-radius: 0.45rem;
        //border-bottom-right-radius: 0.45rem;
        //border-left: none;
      }
      input{
        background-color: #fff;
        display: block;
        height: 0.9rem;
        //border-radius: .45rem;
        margin-bottom: .26rem;
        padding: 0 .26rem;
        font-size: .3rem;
        border: 0.02rem solid #DBDBDB;
        color: #666;
        width: 6.48rem;
        border-radius: 0.45rem;
        padding-left: 0.98rem;
      }
      input::-webkit-input-placeholder { /* WebKit browsers*/
        color: #adadad;
        font-size: 0.3rem;
      }

      input:-moz-placeholder { /* Mozilla Firefox 4 to 18*/
        color: #adadad;
        font-size: 0.3rem;
      }

      input::-moz-placeholder { /* Mozilla Firefox 19+*/
        color: #adadad;
        font-size: 0.3rem;
      }

      input:-ms-input-placeholder { /* Internet Explorer 10+*/
        color: #adadad;
        font-size: 0.3rem;
      }
      #code{
        //display: none;
        .code {
          float: left;
          width: 3.56rem;
          height: 0.9rem;
          padding-left: 0.44rem;
        }
        .send {
          float: right;
          width: 2.5rem;
          height: 0.9rem;
          line-height: 0.9rem;
          border-radius: 0.45rem;
          border:0.02rem solid #ffd52b;
          color: #ffd52b;
          text-align: center;
          font-size: 0.3rem;
          padding: 0;
        }
        .send.disabled{
          border: 0.02rem solid #DBDBDB!important;
          color:#666;
        }
      }
      .selectWrap {
        position: relative;
        height: .9rem;
        border-radius: .45rem;
        border: 0.02rem solid #DBDBDB;
        overflow: hidden;
        box-sizing: border-box;
        margin-bottom: .28rem;
        //span {
        //  position: absolute;
        //  z-index: -1;
        //  width: 0.96rem;
        //  height: 0.9rem;
        //  top: 0;
        //  right: 0;
        //  background-color: #f8f8f8;
        //  border-left: 1px solid #dbdbdb;
        //  img {
        //    width: 0.23rem;
        //    height: 0.11rem;
        //    margin: 0.395rem auto 0;
        //  }
        //}
      }
      select {
        width: 3.04rem;
        height: .9rem;
        border-radius: .45rem;
        margin-bottom: .28rem;
        color: #666;
        padding-left: 0.5rem;
        font-size: .3rem;
        //border: 1px solid #dbdbdb;
        /*Chrome和Firefox里面的边框是不一样的，所以复写了一下*/
        /*很关键：将默认的select选择框样式清除*/
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        /*在选择框的最右侧中间显示小箭头图片*/
        background: url("../img/arrow2.png") no-repeat 2.1rem center transparent;
        /*为下拉小箭头留出一点位置，避免被文字覆盖*/
        background-size:0.96rem 0.93rem ;
      }
      .submit {
        display: block;
        height: 0.93rem;
        line-height: 0.93rem;
        width: 6.48rem;
        //background-color: #ffe52d;
        //border-radius: 0.47rem;
        font-size: 0.36rem;
        color: #0f0e0e;
        cursor: pointer;
        background: url("../img/btn.png") no-repeat center;
        background-size: cover;
      }

    }
  }
  .bar3 {
    .bar3Title {
      width: 100%;
      height: 1rem;
      line-height: 1rem;
      display: flex;
      background: url("../img/bg3.jpg") no-repeat center;
      background-size: cover;
      a {
        //background-color: #ffc600;
        text-align: center;
        width: 2.49rem;
        color: #fff;
        cursor: pointer;
        img {
          display: inline-block;
          width: 0.36rem;
          vertical-align: middle;
          margin-right: 0.1rem;
        }
      }
      span:nth-child(2) {
        margin: 0 1px;
        img {
          width: 0.32rem;
        }
      }
      span:nth-child(2) {
        margin: 0 0.01rem;
        img {
          width: 0.33rem;
        }
      }
    }
    .bar3Body {
      padding-top: 0.83rem;
      .map {
        display: block;
        width: 6.8rem;
        margin: 0.56rem auto 0.94rem;
      }
    }
  }
  .bar4 {
    background-color: #f8f8f8;
    padding-top: 0.5rem;
    .swiper-slide {
      img {
        width: 100%;
      }
      p.text1 {
        font-size: 0.34rem;
        color: #1d1820;
        margin: 0.38rem 0 0.14rem;
        padding-left: 6px;
      }
      p.text2 {
        font-size: 0.26rem;
        color: #666666;
        line-height: 0.34rem;
        margin-bottom: 0.66rem;
        padding-left: 6px;
      }
    }
  }
  .bar5 {
    padding: 0.76rem 0 0.72rem 0;
    .promise {
      padding: 0 0.87rem;
      display: flex;
      img {
        width: 1.15rem;
        height: 1.48rem;
      }
      img:nth-child(2) {
        margin: 0 1.12rem;
        width: 1.14rem;
      }
      img:nth-child(3) {
        width: 1.17rem;
        height: 1.41rem;
      }
    }
  }
  .bar6 {
    background-color: #f8f8f8;
    padding: 0.16rem 0.54rem 0.32rem 0.54rem;
    .tel {
      font-size: 0.3rem;
      color: #ffc600;
      line-height: 0.62rem;
    }
    .line {
      margin: 0 0 0.1rem 0;
    }
    .workTime {
      color: #ffc600;
      font-size: 0.26rem;
      line-height: 0.36rem;
    }
    .code {
      img {
        width: 2.58rem;
        margin: 0.42rem auto 0.18rem;
      }
      p {
        font-size: 0.2rem;
        color: #171717;
        text-align: center;
      }
    }
  }
  .errorTip{
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width:3.26rem;
    height:1.26rem;
    line-height:1.26rem;
    background:rgba(0,0,0,0.75);
    border-radius:10px;
    font-size: 0.32rem;
    text-align: center;
    color: #fff;
    display: none;
  }
}

//footer
.footer {
  background-color: #f8f8f8;
  border-top:1px solid #eeeeee;
  padding: 0.24rem 0 1.18rem;
  p{
    font-size: 0.2rem;
    text-align: center;
    color: #9a9a99;
    line-height: 0.28rem;
  }
}
.footer2 {
  position: fixed;
  z-index: 999;
  bottom:0;
  left: 0;
  width: 100%;
  height: 1rem;
  line-height: 1rem;
  display: flex;
  background: url("../img/bg3.jpg") no-repeat center;
  background-size: cover;
  a {
    //background-color: #ffc600;
    text-align: center;
    width: 2.49rem;
    color: #fff;
    cursor: pointer;
    img {
      display: inline-block;
      width: 0.36rem;
      vertical-align: middle;
      margin-right: 0.1rem;
    }
  }
  span:nth-child(2) {
    margin: 0 1px;
    img {
      width: 0.32rem;
    }
  }
  span:nth-child(2) {
    margin: 0 0.01rem;
    img {
      width: 0.33rem;
    }
  }
}